/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package IGUI;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author olivierm
 */
public interface Publisher extends Remote{
    
       public void subscribeSrv(Subscriber obs) throws RemoteException; 
       public void subscribe(Subscriber obs) throws RemoteException;
       public void unsubscribe(Subscriber obs) throws RemoteException;
       public int getNbrSubscribes() throws RemoteException;
       public void notifyAllSubscibers() throws RemoteException;
       
}
